.flex {
    display: flex;
    margin-left: 40px;
}
.flex span{
    width: 90px;
    height: 30px;
    line-height: 30px;
}

.search {
    float: right;
}